CIT 130 Summer 2003 Assignment 1
Program 1: Guessing Game Use the pseudo random number
generator to generate a number between 1 and 1000. Allow the user to guess at the number and
tell the user whether they are high or low relative to the number you generated. When they guess the correct number tell them
the number of tries and ask if they wish to continue. If they opt to continue -
repeat the process.
Program 2: GCD
Research the GCD (Greatest Common Denominator) algorithm. Implement it in a program that asks for 2
numbers and then returns the GCD. As in
the above program allow for multiple uses of the program.